package com.wkbb.sports.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.wkbb.sports.dto.DetectStuChartDto;
import com.wkbb.sports.dto.DeviceDto;
import com.wkbb.sports.model.HlifeDetect;
import com.wkbb.sports.model.HlifeDevice;
import com.wkbb.sports.model.HlifeStudentDevice;

public interface DetectService {


    HlifeDetect addDetect(HlifeDetect hlifeDetect, Byte projectKind, List<HlifeDevice> devices, Map<String, Object> params) throws Exception;

    void cancelDetect(Long id) throws Exception;

    HlifeDetect selDetecInfo(Long id) throws Exception;

    List<HlifeDetect> selDetectList() throws Exception;

    HlifeDetect isExit(Long classId) throws Exception;

    PageInfo<HlifeDetect> queryDetectList(Map<String, Object> params, int pageNo, int pageSize) throws Exception;

    List<String> selectUseDeviceGoup(Map<String, Object> map) throws Exception;

    HlifeDetect getDetectChartData(Long detectId) throws Exception;

    DetectStuChartDto getStuDetectChartData(Long detectId, Long studentId) throws Exception;
}
